#include "harvester.h"

Harvester::Harvester() : Character (point2d(0,0),0) {
    setMoveSpeed(35);
    setCarryingCap(20);
}


Harvester::Harvester(const point2d& loc, const unsigned int& owner) : Character(loc,owner)
{
	setMoveSpeed(35);
	setCarryingCap(20);
}

Harvester::~Harvester()
{
    //dtor
}


void Harvester::giveOre(const unsigned short& amount, Character& _character){
    setOre(getOre()-amount);
    unsigned short temp=_character.getOre();
    _character.setOre(amount+temp);
    }
